package com.tjbklx1.pattern2.chap35;

public class FreeDeduction implements IDeduction {
	// 自由扣款
	public boolean exec(Card card, Trade trade) {
		// 直接从自由余额中扣除
		card.setFreeMoney(card.getFreeMoney() - trade.getAmount());
		return true;
	}
}